package org.elasticsearch.index.analysis;

import java.io.Reader;

import org.apache.lucene.analysis.util.CharTokenizer;
import org.apache.lucene.util.AttributeFactory;
import org.apache.lucene.util.Version;

public class OtherTokenizer extends CharTokenizer{
	/**
     * Construct a new OtherTokenizer.
     * 
     * @param matchVersion
     *            Lucene version to match See
     *            {@link <a href="#version">above</a>}
     * @param in
     *            the input to split up into tokens
     */
    public OtherTokenizer(Version matchVersion, Reader in) {
        super(matchVersion, in);
    }
	/**
     * Construct a new OtherTokenizer using a given
     * {@link org.apache.lucene.util.AttributeSource.AttributeFactory}.
     * 
     * @param matchVersion
     *            Lucene version to match See
     *            {@link <a href="#version">above</a>}
     * @param factory
     *            the attribute factory to use for this {@link Tokenizer}
     * @param in
     *            the input to split up into tokens
     */
    public OtherTokenizer(Version matchVersion, AttributeFactory factory,
            Reader in) {
        super(matchVersion, factory, in);
    }

	@Override
	protected boolean isTokenChar(int c) {
		// TODO Auto-generated method stub
		return true;
	}

}
